package com.yn.courseselectionsystem.service.impl;

import com.yn.courseselectionsystem.dao.TeacherDao;
import com.yn.courseselectionsystem.pojo.Teacher;
import com.yn.courseselectionsystem.service.TeacherService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @description: TODO
 * @author: Tokyo_God
 * @date: 2021/1/2 18:37
 * Role of:
 * @version: v1.0
 */
@Service
public class TeacherServiceImpl implements TeacherService {

    @Resource
    TeacherDao teacherDao;

    @Override
    public Map<Integer, Teacher> selTeacherMapAll() {
        return teacherDao.selTeacherMapAll();
    }

    @Override
    public List<Teacher> selTeacherAll() {
        return teacherDao.selTeacherAll();
    }
}
